package modelLayer;

import modelLayer.Staff;
import modelLayer.Subject;

public class TeachingBlock {
	
	private Staff staff;
	private Subject subject;
	private Room room;
	private int ID;
	
	
	public TeachingBlock(int iD, Subject subject, Staff staff, Room room) {
		super();
		this.staff = staff;
		this.subject = subject;
		this.room = room;
		ID = iD;
	}
	
	public TeachingBlock() {
		
	}

	public Staff getStaff() {
		return staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Subject getSubject() {
		return subject;
	}

	public void setSubject(Subject subject) {
		this.subject = subject;
	}

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public Room getRoom() {
		return room;
	}

	public void setRoom(Room room) {
		this.room = room;
	}

	@Override
	public String toString() {
		return "TeachingBlock [ID=" + ID + "]";
	}

}
